home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
lib
/
c
/
RCS
/
local.mk,v
< prev
Wrap
Text File
|
1988-08-20
|
3KB
|
159 lines
head 1.5;
access ;
symbols ;
locks ; strict;
comment @@;
1.5
date 88.08.20.17.51.53; author ouster; state Exp;
branches ;
next 1.4;
1.4
date 88.08.13.15.08.24; author ouster; state Exp;
branches ;
next 1.3;
1.3
date 88.08.13.11.50.43; author ouster; state Exp;
branches ;
next 1.2;
1.2
date 88.08.12.17.42.21; author ouster; state Exp;
branches ;
next 1.1;
1.1
date 88.08.12.15.41.18; author ouster; state Exp;
branches ;
next ;
desc
@@
1.5
log
@Don't remember.
@
text
@#
# This file is included by Makefile. Makefile is generated automatically
# by mkmf, and this file provides additional local personalization. The
# variable SYSMAKEFILE is provdied by Makefile; it's a system Makefile
# that must be included to set up various compilation stuff.
#
#include <$(SYSMAKEFILE)>
#include <all.mk>
.PATH.a: # Clear out
#
# System programs used here:
#
BINDIR ?= /sprite/cmds.$(MACHINE)
CP ?= $(BINDIR)/cp
RANLIB ?= $(BINDIR)/ranlib
RM ?= $(BINDIR)/rm
#
# The following include is so that RANLIB can get re-set depending
# on the machine type.
#
#include <tmflags.mk>
#
# MAKEINSTALLLIB usage:
# <target> : <source> MAKEINSTALLLIB
# Will copy over a library and re-ranlib it.
#
MAKEINSTALLLIB : .USE
$(RM) -f $(.TARGET)
$(CP) $(.ALLSRC) $(.TARGET)
$(RANLIB) $(.TARGET)
#
# Make a lint library by making a bunch of lint libraries in subdirectories
# then concatenating them all together.
#
LINTLIB = $(TM).md/llib-l$(NAME).ln
INSTALLEDLINT = /sprite/lib/lint.$(TM)/llib-l$(NAME).ln
INSTALLFLAGS ?=
$(LINTLIB) : .MAKE .SILENT .ZEROTIME
$(RM) -f $(TM).md/llib-l$(NAME).ln
for i in $(SUBDIRS);
do
echo %%% ${i} %%%
(cd $i; $(MAKE) $(PASSVARS) lintlib)
cat ${i}/$(TM).md/llib-l${i}.ln >> $(LINTLIB)
done
lintlib : $(LINTLIB)
installlint :: $(INSTALLEDLINT)
$(INSTALLEDLINT) :: lintlib
@@update -m 444 -o root $(INSTALLFLAGS) $(LINTLIB) $(INSTALLEDLINT)
REGLIB = /sprite/lib/$(TM).md/libc.a
PROFLIB = /sprite/lib/$(TM).md/libc_p.a
DEBUGLIB = /sprite/lib/$(TM).md/libc_g.a
install :: $(REGLIB)
$(REGLIB) : $(TM).md/libc.a MAKEINSTALLLIB
installprofile :: $(PROFLIB)
$(PROFLIB) : $(TM).md/libc_p.a MAKEINSTALLLIB
installdebug :: $(DEBUGLIB)
$(DEBUGLIB) : $(TM).md/libc_g.a MAKEINSTALLLIB
installquick : $(REGLIB)
@
1.4
log
@Make "install" work (had to clear PATH.a).
@
text
@d17 1
a17 1
BINDIR ?= /sprite/cmds.$(TM)
@
1.3
log
@Added "installquick" target.
@
text
@d11 2
@
1.2
log
@Added "install" targets.
@
text
@d70 1
@
1.1
log
@Initial revision
@
text
@d9 1
d12 26
d46 1
a46 1
rm -f $(TM).md/llib-l$(NAME).ln
d59 11
@